#ifndef __VK321X_H__
#define __VK321X_H__ 

#include "cpu_io.h"
#include <stdio.h>
//Private Variables	
//#include <GBuffer.h>
#include <CBuffer.h>


//-------------------------------------------------------------------
//External Functions
//-------------------------------------------------------------------
int gt_vk321x_init(void);
int vk321x_Open(U8 nChl,U32 xBaud,U8 xData,U8 xPari,U8 xStop,U32 bufsize);
int vk321x_Send(U8 nChl, const void *pData, U32 nLen);
int vk321x_Recv(U8 xUart,void* pBuf,int size,int nTmo,int ntry);

void gt_vk321x_handler(void);


#endif

